//	ID : pallab81
// 	PROG : 10664
// 	LANG : C++
// 	2011-08-29-18.08.09 Monday
//
// 	"I have not failed, I have just found 10000 ways that won't work.
//


#include <iostream>
#include <algorithm>
#include <vector>
#include <sstream>
#include <fstream>
#include <string>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <functional>
#include <bitset>
#include <numeric>

#include <cassert>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <climits>
#include <cstring>
#include <cstdlib>

using namespace std;

#define VI vector< int >
#define CI( x ) scanf("%d",&x)
#define CL( x ) scanf("%lld",&x)
#define CD( x ) scanf("%lf",&x )
#define fo(i,ed) for(int i = 0 ; i < ed ; ++i )
#define foR(i,st,ed) for(int i = st ; i < ed ; ++i )
#define foit(i, x) for (typeof((x).begin()) i = (x).begin(); i != (x).end(); i++)
#define bip system("pause")
#define Int long long
#define pb push_back
#define SZ(X) (int)(X).size()
#define LN(X) (int)(X).length()
#define mk make_pair
#define f first
#define s second
#define SET( ARRAY , VALUE ) memset( ARRAY , VALUE , sizeof(ARRAY) )

inline void wait( double seconds ){
    double endtime = clock()+( seconds* CLOCKS_PER_SEC );
    while( clock() < endtime ){
        ;
    }
}
string line;
VI v;
int dp[400];
inline void Read(){
    getline(cin,line);
}
inline int toI(string ss){
    int d;
    sscanf(ss.c_str(),"%d",&d);
return d;
}
inline void split(){
    stringstream ss(line);
    v.clear();
    for(string temp=""; getline(ss,temp,' '); ){
        if( LN(temp)<1 )continue;
        v.pb( toI(temp) );
    }
}
inline void Proc(){
    int N = SZ(v);
    int total = accumulate(v.begin(),v.end(),0);
    SET(dp,-1);
    dp[0]=1;

    fo(i,N){
        for(int j=total; j>=0; --j){
            if( dp[j]!= -1 ){
                if( j+v[i] <=total ){
                    dp[ j+v[i] ]=1;
                }
            }
        }
    }
    int mid = total/2;

    if( mid*2 == total && dp[mid]!=-1){
        printf("YES\n");
    }
    else{
        printf("NO\n");
    }
}
int main(){
//    #ifndef ONLINE_JUDGE
//        freopen("in.txt","rt",stdin);
//    #endif

    int cases=1;
    for( CI(cases),scanf("\n") ; cases ; --cases ){
        Read();
        split();
        Proc();
    }

return 0;
}
